/* 首页样式 */
/* 版心 */
.wrapper {
  margin: 0 auto;
  width: 1200px;
}

body {
  background-color: #f3f5f7;
}

/* 头部区域 */
.header {
  height: 100px;
  background-color: #fff;
}

.header .wrapper {
  padding-top: 29px;
  display: flex;
}

/* logo */
.logo a {
  display: block;
  width: 195px;
  height: 41px;
  background-image: url(../images/logo.png);
  font-size: 0;
}

/* 导航区域 */
.nav {
  margin-left: 102px;
}

.nav ul {
  display: flex;
}

.nav li {
  margin-right: 24px;
/*   width: 35px;
  height: 31px; */
}

.nav li a {
  display: block;
  padding: 6px 8px;
  line-height: 27px;
  font-size: 19px;
}

/* active是类选择器，表示默认选中的a */
.nav li .active,
.nav li a:hover {
  border-bottom: 2px solid #00a4ff;
}

/* 搜素区域 */
.search {
  width: 412px;
  height: 40px;
  background-color: #f3f5f7;
  border-radius: 20px;
  margin-left: 64px;
  padding-left: 19px;
  padding-right: 12px;
  display: flex;
}
.search input {
  flex: 1;
  border: 0;
  background-color: transparent;
  /* 去掉表单控件的焦点框 */
  outline: none;
}
/* ::placeholder 选中就是placeholder 属性文字样式 */
.search input::placeholder{
  font-size: 14px;
  color: #999;
}
/* 父级是flex布局，子级则是弹性盒子，加宽高生效 */
.search a {
  width: 16px;
  height: 16px;
  background-image: url(../images/search.png);
  align-self: center;
}

/* 用户区域 */
.user {
  margin-left: 32px;
  margin-top: 4px;
}
.user img {
  /* 该属性专门用来处理 行内块 和 行内 垂直方向对齐方式 */
  vertical-align: middle;
  margin-right: 7px;
}
.user span {
  font-size: 16px;
  color: #666;
}

/* 横幅区域 */
.banner {
  height: 420px;
  background-color: #0092cb;
}
.banner .wrapper {
  display: flex;
  justify-content: space-between;
  height: 420px;
  background-image: url(../uploads/banner.png);
}

/* 左侧导航 */
.banner .left {
  width: 191px;
  height: 420px;
  background-color: rgba(0, 0, 0, 0.42);
  padding: 3px 20px;
}
.banner .left a {
  display: block;
  height: 46px;
  background: url(../images/right.png) no-repeat right center;
  line-height: 46px;
  font-size: 16px;
  color: #fff;
}
.banner .left a:hover {
  background-image: url(../images/right-hover.png);
  color: #00a4ff;
}

/* 右侧导航 */
.banner .right {
  width: 218px;
  height: 305px;
  background-color: #209dd5;
  margin-top: 60px;
  margin-bottom: 56px;
  border-radius: 10px;
}
.banner .right h3 {
  padding-left: 14px;
  height: 48px;
  line-height: 48px;
  color: #fff;
  font-size: 15px;
  font-weight: 400;
}
.banner .right .connet {
  height: 257px;
  border-radius: 10px;
  background-color: #fff;
  padding: 14px;
}
.banner .right dl {
  margin-bottom: 12px;
  border-bottom: 1px solid #e0e0e0;
}
.banner .right dt {
  font-size: 14px;
  margin-bottom: 8px;
  line-height: 20px;
  font-weight: 700;
}
.banner .right dd {
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 16px;
}
.banner .right dd span {
  color: #00a4ff;
}
.banner .right dd strong {
  color: #7d7d7d;
  font-weight: 400;
}
.banner .right a {
  display: block;
  height: 32px;
  background-color: #00a4ff;
  border-radius: 15px;
  text-align: center;
  line-height: 32px;
  color: #fff;
  font-size: 14px;
}

/* 精品推荐区域*/
.recommend {
  height: 60px;
  background-color: #fff;
  box-shadow: 0px 1px 2px 0px rgba(211,211,211,0.5);
  margin-top: 11px;
  padding-left: 20px;
  padding-right: 20px;
  line-height: 60px;
  display: flex;
}
.recommend h3 {
  color: #00a4ff;
  font-size: 18px;
  font-weight: 400;
  
}
.recommend ul {
  flex: 1;
display: flex;
}
.recommend ul li a {
  padding: 0px 24px;
  border-right: 1px solid #e0e0e0;
  font-size: 18px;
}
.recommend ul li:last-child a {
  border-right: none;
}
.recommend .modify {
  font-size: 16px;
  color: #00a4ff;
}